Soru & Cevap

Android uygulama durdu hatası

02.02.2018 - 11:07

Merhaba arkadaşlar , Android stuioda ilk etapta projemin ayarlamasını yaparken server adresimi girdim.Uygulama normal şekilde çalışıyordu.Serverdaki aynı ayarları başka siteme taşıdım gerekli ayarları yaptım . ve android stuioda bu yeni servera görede ayarları tamamladım.İlk etapta uygulamayı run ettiğimde çalıştı sonra reklam kodları True ydu Onları false yaptım . Sonra tekrar run etmeye denedim uygulama durdu hatası verdi.Belki düzelir düşüncesiyle yaptığım bu değişikliği geri aldım . Ancak değişiklik olmadı ve yine uygulama durdu hatası verdi.Logcat çıktısını ekledim.Yardımcı olabilirseniz çok sevinirim.

 

LOGCAT ;

 

02-02 23:03:52.404 9586-9586/com.kuponly.apps.kampanya D/AndroidRuntime: Shutting down VM
02-02 23:03:52.404 9586-9586/com.kuponly.apps.kampanya E/AndroidRuntime: FATAL EXCEPTION: main
                                                                         Process: com.kuponly.apps.kampanya, PID: 9586
                                                                         java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.getBoolean(java.lang.String)' on a null object reference
                                                                             at com.kuponly.apps.kampanya.activities.SplashActivity.startMain(SplashActivity.java:306)
                                                                             at com.kuponly.apps.kampanya.activities.SplashActivity.access$000(SplashActivity.java:77)
                                                                             at com.kuponly.apps.kampanya.activities.SplashActivity$3.run(SplashActivity.java:206)
                                                                             at android.os.Handler.handleCallback(Handler.java:815)
                                                                             at android.os.Handler.dispatchMessage(Handler.java:104)
                                                                             at android.os.Looper.loop(Looper.java:207)
                                                                             at android.app.ActivityThread.main(ActivityThread.java:5765)
                                                                             at java.lang.reflect.Method.invoke(Native Method)
                                                                             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
                                                                             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
02-02 23:03:54.274 9586-9734/com.kuponly.apps.kampanya D/libc-netbsd: getaddrinfo: googleads.g.doubleclick.net get result from proxy gai_error = 0
02-02 23:03:54.445 9586-9734/com.kuponly.apps.kampanya D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
02-02 23:03:54.447 9586-9734/com.kuponly.apps.kampanya D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
02-02 23:03:54.492 9586-9763/com.kuponly.apps.kampanya D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
02-02 23:03:54.493 9586-9763/com.kuponly.apps.kampanya D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
02-02 23:03:55.194 9586-9830/com.kuponly.apps.kampanya D/libc-netbsd: getaddrinfo: kuponly.com.tr get result from proxy gai_error = 0
02-02 23:03:55.195 9586-9830/com.kuponly.apps.kampanya I/System.out: [CDS]rx timeout:40000
02-02 23:03:55.195 9586-9830/com.kuponly.apps.kampanya I/System.out: [socket][0] connection kuponly.com.tr/212.1.212.72:443;LocalPort=60187(40000)
02-02 23:03:55.196 9586-9830/com.kuponly.apps.kampanya I/System.out: [CDS]connect[kuponly.com.tr/212.1.212.72:443] tm:40
02-02 23:03:55.196 9586-9830/com.kuponly.apps.kampanya D/Posix: [Posix_connect Debug]Process com.kuponly.apps.kampanya :443 
02-02 23:03:55.393 9586-9830/com.kuponly.apps.kampanya I/System.out: [socket][/192.168.0.11:60187] connected
02-02 23:03:55.394 9586-9830/com.kuponly.apps.kampanya D/libc-netbsd: [getaddrinfo]: hostname=kuponly.com.tr; servname=(null); netid=0; mark=0
02-02 23:03:55.394 9586-9830/com.kuponly.apps.kampanya D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 NativeCrypto_SSL_do_handshake fd=0x7f572dc7c8 shc=0x7f572dc7cc timeout_millis=40000 client_mode=1 npn=0x0
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake ++
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x10 ret=1
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 handshake start in CINIT  before connect initialization
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback calling handshakeCompleted
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback completed
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:CINIT  before connect initialization
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3WCH_A SSLv3 write client hello A
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1002 ret=-1
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:error exit in 3RSH_A SSLv3 read server hello A
02-02 23:03:55.395 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.396 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake -- ret=-1
02-02 23:03:55.396 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=40000
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake ++
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3RSH_A SSLv3 read server hello A
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1002 ret=-1
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:error exit in 3RSC_A SSLv3 read server certificate A
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake -- ret=-1
02-02 23:03:55.577 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=40000
02-02 23:03:55.578 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake ++
02-02 23:03:55.579 9586-9830/com.kuponly.apps.kampanya E/NativeCrypto: ssl=0x7f57f9ae00 cert_verify_callback x509_store_ctx=0x7f572dc490 arg=0x0
02-02 23:03:55.579 9586-9830/com.kuponly.apps.kampanya E/NativeCrypto: ssl=0x7f57f9ae00 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
02-02 23:03:55.616 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 cert_verify_callback => 1
02-02 23:03:55.616 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.616 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3RSC_A SSLv3 read server certificate A
02-02 23:03:55.616 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.618 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.618 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3RSKEA SSLv3 read server key exchange A
02-02 23:03:55.618 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.618 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.618 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3RSD_A SSLv3 read server done A
02-02 23:03:55.618 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3WCKEA SSLv3 write client key exchange A
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3WCCSA SSLv3 write change cipher spec A
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3WFINA SSLv3 write finished A
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3FLUSH SSLv3 flush data
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1002 ret=-1
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:error exit in UNKWN  SSLv3 read server session ticket A
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.621 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake -- ret=-1
02-02 23:03:55.622 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=40000
02-02 23:03:55.628 9586-9595/com.kuponly.apps.kampanya I/System: FinalizerDaemon: finalize objects = 223
02-02 23:03:55.642 9586-9595/com.kuponly.apps.kampanya D/SQLiteDatabase: dispose database true
                                                                         java.lang.Throwable: stacktrace
                                                                             at android.database.sqlite.SQLiteDatabase.dispose(SQLiteDatabase.java:286)
                                                                             at android.database.sqlite.SQLiteDatabase.finalize(SQLiteDatabase.java:272)
                                                                             at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:229)
                                                                             at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:207)
                                                                             at java.lang.Thread.run(Thread.java:818)
02-02 23:03:55.643 9586-9595/com.kuponly.apps.kampanya D/SQLiteDatabase: dispose database true
                                                                         java.lang.Throwable: stacktrace
                                                                             at android.database.sqlite.SQLiteDatabase.dispose(SQLiteDatabase.java:286)
                                                                             at android.database.sqlite.SQLiteDatabase.finalize(SQLiteDatabase.java:272)
                                                                             at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:229)
                                                                             at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:207)
                                                                             at java.lang.Thread.run(Thread.java:818)
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake ++
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:UNKWN  SSLv3 read server session ticket A
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3RCCS_ SSLv3 read change cipher spec
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1001 ret=1
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:3RFINA SSLv3 read finished A
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x20 ret=1
02-02 23:03:55.816 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 handshake done in SSLOK  SSL negotiation finished successfully
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback calling handshakeCompleted
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback completed
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback where=0x1002 ret=1
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 SSL_connect:ok exit in SSLOK  SSL negotiation finished successfully
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 info_callback ignored
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: doing handshake -- ret=1
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 NativeCrypto_SSL_get_certificate => NULL
02-02 23:03:55.820 9586-9830/com.kuponly.apps.kampanya I/System.out: gba_cipher_suite:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
02-02 23:03:55.829 9586-9830/com.kuponly.apps.kampanya I/System.out: [CDS]rx timeout:40000
02-02 23:03:55.829 9586-9830/com.kuponly.apps.kampanya I/System.out: [CDS]rx timeout:40000
02-02 23:03:55.829 9586-9830/com.kuponly.apps.kampanya I/System.out: [CDS]SO_SND_TIMEOUT:0
02-02 23:03:55.839 9586-9830/com.kuponly.apps.kampanya I/System.out: [OkHttp] sendRequest>>
02-02 23:03:55.839 9586-9830/com.kuponly.apps.kampanya I/System.out: [OkHttp] sendRequest<<
02-02 23:03:55.839 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 sslWrite buf=0x7f54dbe000 len=382 write_timeout_millis=0
02-02 23:03:55.842 9586-9830/com.kuponly.apps.kampanya D/NativeCrypto: ssl=0x7f57f9ae00 sslRead buf=0x7f54dbe000 len=2048,timeo=40000
02-02 23:03:56.585 9586-9830/com.kuponly.apps.kampanya D/Volley: [4399] BasicNetwork.logSlowRequests: HTTP response for request=<[ ] https://kuponly.com.tr//1.0/webservice/getCategories 0x24efa287 NORMAL 1> [lifetime=7691], [size=35], [rc=200], [retryCount=0]

 

Saygılarımla.

 

 

142 Görüntülenme

1 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

picture-26270-1538632301.jpg
aeniserkaya
03.02.2018 - 11:52

 java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.getBoolean(java.lang.String)' on a null object reference

hatasını aldığın satıra gidip ilgili kodu bizimle paylaşır mısın? Kullandığın bir değer null geliyor.

Emre
04.02.2018 - 01:20
Sorunu çözdüm , apk çıktısında şöyle hata alıyorum ancak ; Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT error: check logs for details